package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    AddressBook getDefault();
    void insert(AddressBook addressBook);
    List<AddressBook> list();
    void update(AddressBook addressBook);
    void delete(Long id);
    AddressBook getById(Long id);
    void updateDefault(Long id);
}
